.PHONY:all
all: TcpServer TcpClient

TcpServer:ServerMain.cc
	g++ -o $@ $^ -std=c++14 -lpthread -ljsoncpp

TcpClient:ClientMain.cc
	g++ -o $@ $^ -std=c++14 -ljsoncpp -lpthread

.PHONY:clean
clean:
	rm -rf TcpServer TcpClient